package war
{
	import flash.display.Sprite;
	/**
	 * 赋予牌属性
	 * @author war
	 * 
	 */	
	public class Nature extends Sprite
	{
		public var cartArr:Array=[];
		private var valueArr:Array=[5,6,7,8,9,10,11,14,15,
			9,10,11,12,13,1,2,3,4,
			13,1,2,3,4,5,6,7,8,
			4,5,6,7,8,9,10,11,12,
			8,9,10,11,12,13,1,2,3,
			12,13,1,2,3,4,5,6,7]
		public function Nature()
		{
			super();
			var p:PicCut=new PicCut();
			for (var i:int = 0; i < p.arr.length; i++) 
			{
				var obj:Object={name:p.arr[i],value:valueArr[i]};
				cartArr.push(obj);
				/*addChild(cartArr[i]["name"]);
				cartArr[i]["name"].x=i*30;
				addChild(p.arr[i]);
				p.arr.x=100+i*30;*/
			}			
			
		}
	}
}